package com.ruyuan.eshop.construction.service;

import com.ruyuan.eshop.common.core.PageResult;
import com.ruyuan.eshop.construction.domain.dto.BuyerInfoDTO;
import com.ruyuan.eshop.construction.domain.dto.BuyerListDTO;
import com.ruyuan.eshop.construction.domain.dto.BuyerResultDTO;
import com.ruyuan.eshop.construction.domain.request.BuyerRequest;
import com.ruyuan.eshop.construction.domain.request.QueryBuyerListRequest;
import com.ruyuan.eshop.construction.domain.request.QueryBuyerPageRequest;

/**
 * 买手服务
 *
 * @author zhonghuashishan
 */
public interface BuyerService {

    /**
     * 新增/修改买手信息
     *
     * @param request
     * @return com.ruyuan.eshop.construction.domain.dto.BuyerResultDTO
     * @author zhonghuashishan
     */
    BuyerResultDTO saveBuyer(BuyerRequest request);

    /**
     * 查询买手信息
     *
     * @param request
     * @return com.ruyuan.eshop.construction.domain.dto.BuyerListDTO
     * @author zhonghuashishan
     */
    BuyerListDTO getBuyerInfo(QueryBuyerListRequest request);

    /**
     * 查询买手信息
     *
     * @param request
     * @return com.ruyuan.eshop.common.core.PageResult<com.ruyuan.eshop.construction.domain.dto.BuyerInfoDTO>
     * @author zhonghuashishan
     */
    PageResult<BuyerInfoDTO> getBuyerInfoPage(QueryBuyerPageRequest request);
}
